package com.four.shop.service.impl;

import com.four.shop.dao.PrictureDao;
import com.four.shop.entity.Pricture;
import com.four.shop.service.PrictureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.xml.ws.Action;
import java.util.List;

/**
 * @Author:wsy
 * @Date: 2021/12/9/15:35
 */
@Service
public class PrictureServiceImpl implements PrictureService {

    @Autowired
    private PrictureDao prictureDao;
    @Override
    public List<Pricture> getPictureById(Integer id) {
        return prictureDao.getPrictureById(id);
    }
}
